﻿@using Wheeler.Common.Extensions;
@using Wheeler.Web.ViewModels;
@{
    //List<Wheeler.Web.ViewModels.CategoryViewModel> _ParentCategories = (from P in ApplicationCache.Categories orderby P.Name where P.ParentID == null select P).ToList();    
    UserViewModel _LoggedInUser = SessionCache.CurrentUser;
}
<!--Top Navigation Start-->
<div class="navbar navbar-fixed-top">
    <div class="navbar-inner" style="height:60px;">
        <div class="container">
            <!-- <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">            
                <span class ="icon-th-list icon-white"></span>
            </a> -->
            <div class="row-fluid">
                <div class="span8">
                    <a class="brand" title="Home" href="/"><img title="Bangladesh University of Engineering &amp; Technology Logo" alt="Bangladesh University of Engineering &amp; Technology Logo" src="/Content/Images/buet_logo.jpg"/> 3W CNG Auto Rickshaw Test</a>
                    <div class="logo-slogan">
                        Department of Mechanical Engineering, BUET, Dhaka - 1000
                    </div>
                </div>
                <div class="span4">
                    @if (_LoggedInUser != null)
                    {
                        <div class="" style="margin-top:4px; text-align:right;">
                            Welcome @_LoggedInUser.UserName | <a href="/Account/LogOff">Sign Out</a>
                        </div>
                        <div class="clearfix"></div>
                    }
                </div>
            </div>
        </div>
    </div>
</div>
<!--Top Navigation End-->